package com.dy.lock.screen.component;

import java.util.List;

import com.dy.lock.screen.pojo.CommonCommentInfo;
import com.dy.lock.screen.scoket.Head;

/**
 * 普通评论组件
 * 
 * @author java
 * 
 */
public interface CommonCommentComponent {

	/**
	 * 普通评论删除
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean delete(String body, Head head);

	/**
	 * 获取普通评论
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<CommonCommentInfo> list(String body, Head head);

	/**
	 * 上传普通评论
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean uploadCommonComment(String body, Head head);

}
